<template>
	<view class="template-search tn-safe-area-inset-bottom">

		<view class="tn-navbg" :style="{height: vuex_custom_bar_height + 'px'}">
			<!-- 顶部自定义导航 -->
			<tn-nav-bar fixed alpha customBack>
				<view slot="back" class='tn-custom-nav-bar__back' @click="goBack">
					<text class='icon tn-icon-left-arrow'></text>
				</view>
			</tn-nav-bar>


		</view>

		<!--    <tn-nav-bar fixed alpha customBack>
      <view slot="back" class='tn-custom-nav-bar__back'
        @click="goBack">
        <text class='icon tn-icon-left'></text>
        <text class='icon tn-icon-home-capsule-fill'></text>
      </view>
    </tn-nav-bar> -->

		<view class="tn-search-fixed">
			<view class="tn-flex tn-flex-row-between tn-flex-col-center tn-margin"
				:style="{marginTop: vuex_custom_bar_height + 'px'}">
				<view class="justify-content-item align-content-item">
					<view class="tn-bg-gray--light tn-flex tn-flex-col-center"
						style="border-radius: 100rpx;padding: 10rpx 20rpx 10rpx 20rpx;width: 100%;">
						<text
							class="tn-icon-search justify-content-item tn-padding-right-xs tn-color-gray tn-text-lg"></text>
						<input class="justify-content-item" @input="ssinput" v-model="inputValue" placeholder="搜索动态"
							name="input" placeholder-style="color:#AAAAAA"></input>
					</view>
				</view>

				<view class="align-content-item" @click="gettagList()">
					<view class="justify-content-item tn-text-center">
						<tn-button backgroundColor="#82B2FF" shape="round" padding="20rpx 20rpx" width="150rpx" shadow
							fontBold @tap="">
							<text class="tn-color-white">搜 索</text>
						</tn-button>
					</view>
				</view>
			</view>
		</view>

		<view class="" style="margin-top: 160rpx;" :style="{paddingTop: vuex_custom_bar_height + 'px'}">
			<view class="tn-flex tn-flex-row-between tn-margin">
				<view class="justify-content-item tn-text-bold">
					<text class="tn-text-df tn-color-black">最近搜索</text>
				</view>
				<view class="justify-content-item tn-text-df tn-color-grey">
					<text class="tn-padding-xs">删除</text>
					<text class="tn-icon-delete"></text>
				</view>
			</view>
		</view>

		<view class="">
			<view class="tn-tag-search tn-margin tn-text-justify">
				<view v-for="(item, index) in tagList" :key="index" @click="djtag(item)"
					class="tn-tag-search__item tn-margin-right tn-round tn-text-sm tn-bg-gray--light tn-color-gray">
					<text class="tn-tag-search__item--prefix">#</text> {{ item.title }}
				</view>
			</view>
		</view>

		<view class="tn-flex tn-flex-row-between tn-padding-top-xl tn-margin tn-padding-bottom">
			<view class="justify-content-item tn-text-bold">
				<text class="tn-text-df tn-color-black">搜索结果</text>
			</view>
			<view class="justify-content-item tn-text-df tn-color-grey">
				<text class="tn-padding-xs">筛选</text>
				<text class="tn-icon-filter"></text>
			</view>
		</view>

		<view class="tn-flex tn-flex-direction-column tn-margin-top-sm tn-margin-bottom">

			<!-- 图文信息 -->
			<block v-for="(item,index) in content">
				<view class="blogger__item" :key="index">
					<view class="blogger__author tn-flex tn-flex-row-between tn-flex-col-center">
						<view class="justify__author__info">
							<view class="tn-flex tn-flex-row-center">
								<view class="tn-flex tn-flex-row-center tn-flex-col-center">
									<view class="" @click.stop="tn('/circlePages/businessCard?id='+item.mpiid)">
										<tn-avatar class="" shape="circle" :src="item.userAvatar" size="lg">
										</tn-avatar>
									</view>
									<view class="tn-padding-right tn-text-ellipsis">
										<view class="tn-padding-right tn-padding-left-sm tn-text-bold tn-text-lg">
											{{ item.userName }}</view>
										<view
											class="tn-padding-right tn-padding-left-sm tn-padding-top-xs tn-color-gray">
											{{ item.date }}</view>
									</view>
								</view>
							</view>
						</view>
						<view class="blogger__author__btn justify-content-item tn-flex-col-center tn-flex-row-center">
							<!-- 为什么不放关注按钮，因为快餐文化的世界，关注按钮放在外面没必要 -->
							<text class="tn-icon-more-vertical tn-color-gray tn-text-bold tn-text-xxl"></text>
						</view>
					</view>

					<view
						class="blogger__desc tn-margin-top-sm tn-margin-bottom-sm tn-text-justify tn-flex-col-center tn-flex-row-left"
						@click="tn('/circlePages/details?iid='+item.iid)">
						<view v-for="(label_item,label_index) in item.label" :key="label_index"
							class="blogger__desc__label tn-float-left tn-margin-right tn-bg-gray--light tn-round tn-text-sm tn-text-bold">
							<text class="blogger__desc__label--prefix">#</text>
							<text class="tn-text-df">{{ label_item }}</text>
						</view>
						<!-- 不用限制长度了，因为发布的时候限制长度了-->
						<text v-if="!item.label || item.label.length < 4"
							class="blogger__desc__content tn-flex-1 tn-text-justify tn-text-df">{{ item.desc }}</text>
					</view>

					<!-- 内容太多疲劳了-->
					<!-- <view
	          v-if="item.content"
	          class="blogger__content"
	          :id="`blogger__content--${index}`"
	        >
	          <view
	            class="blogger__content__data clamp-text-2">
	            {{ item.content }}
	          </view>
	        </view> -->

					<block v-if="item.mainImage">
						<view v-if="[1,2,4].indexOf(item.mainImage.length) != -1" class="tn-padding-top-xs"
							@click="tn('/circlePages/details?iid='+item.iid)">
							<image v-for="(image_item,image_index) in item.mainImage" :key="image_index"
								class="blogger__main-image" :class="{
	                'blogger__main-image--1 tn-margin-bottom-sm': item.mainImage.length === 1,
	                'blogger__main-image--2 tn-margin-right-sm tn-margin-bottom-sm': item.mainImage.length === 2 || item.mainImage.length === 4
	              }" :src="image_item" mode="aspectFill"></image>
						</view>
						<view v-else class="tn-padding-top-xs" @click="tn('/circlePages/details?iid='+item.iid)">
							<tn-grid hoverClass="none" :col="3">
								<block v-for="(image_item,image_index) in item.mainImage" :key="image_index">
									<!-- #ifndef MP-WEIXIN -->
									<tn-grid-item style="width: 30%;margin: 10rpx;">
										<image class="blogger__main-image blogger__main-image--3" :src="image_item"
											mode="aspectFill"></image>
									</tn-grid-item>
									<!-- #endif-->
									<!-- #ifdef MP-WEIXIN -->
									<tn-grid-item style="width: 30%;margin: 10rpx;">
										<image class="blogger__main-image blogger__main-image--3" :src="image_item"
											mode="aspectFill"></image>
									</tn-grid-item>
									<!-- #endif-->
								</block>
							</tn-grid>
						</view>
					</block>

					<!-- <view class="tn-flex tn-flex-row-between tn-flex-col-center tn-margin-top-xs">
						<view class="justify-content-item tn-color-gray tn-text-center">
							<view class="">
								<text class="blogger__count-icon tn-icon-footprint"></text>
								<text class="tn-padding-right">{{ item.collectionCount }}</text>
								<text class="blogger__count-icon tn-icon-message"></text>
								<text class="tn-padding-right">{{ item.commentCount }}</text>
								<text class="blogger__count-icon tn-icon-like"></text>
								<text class="">{{ item.likeCount }}</text>
							</view>
						</view>
						<view class="justify-content-item tn-flex tn-flex-col-center">
							<view style="margin-right: 10rpx;margin-left: 20rpx;">
								<tn-avatar-group :lists="item.viewUser.latestUserAvatar" size="sm"></tn-avatar-group>
							</view>
							<text class="tn-color-gray">{{ item.viewUser.viewUserCount }}人</text>
						</view>
					</view> -->
					<view class="tn-flex tn-flex-row-between tn-flex-col-center tn-margin-top-xs">
						<view class="justify-content-item tn-color-gray tn-text-center">
							<view style="margin-right: 10rpx;margin-left: 20rpx;">
								<tn-avatar-group :lists="item.viewUser.latestUserAvatar" size="sm"></tn-avatar-group>
							</view>
							<!-- <text class="tn-color-gray">{{ item.viewUser.viewUserCount }}人</text> -->
						</view>
						<view class="justify-content-item tn-flex tn-flex-col-center">
							<view class="justify-content-item tn-flex tn-flex-col-center">
								<button type="default" open-type="share" class="shareBtn" :data-id="item.iid"
									data-type="dongtai" @click.stop="">
									<text class="blogger__count-icon tn-icon-share"></text>
								</button>
								<!-- <text class="tn-padding-right">{{ item.collectionCount }}</text> -->
								<text class="blogger__count-icon tn-icon-message"></text>
								<text class="tn-padding-right">{{ item.commentCount }}</text>
								<text class="blogger__count-icon tn-icon-like" @click.stop="dianzan(item)"></text>
								<text class="">{{ item.likeCount }}</text>
								<!-- <button type="default" open-type="share" class="shareBtn" :data-id="item.iid"
									data-type="dongtai" @click.stop="">
									<text class="blogger__count-icon tn-icon-share"></text>
								</button> -->
							</view>
						</view>
					</view>
				</view>

				<!-- 边距间隔 -->
				<view class="tn-strip-bottom" v-if="index != content.length - 1"></view>
			</block>

			<!-- 边距间隔 -->
			<view class="tn-strip-bottom"></view>
		</view>

		<view class='tn-tabbar-height'></view>

	</view>

	<!-- 不建议写时间，因为写了时间，你就要经常更新文章了鸭-->
	<!-- <view class="tn-margin-bottom-lg">
      <block v-for="(item, index) in content" :key="index">
        <view class="article-shadow tn-margin" @click="tn('/circlePages/news')">
          <view class="tn-flex">
            <view class="tn-margin-sm tn-padding-top-xs" style="width: 100%;">
              <view class="tn-text-lg tn-text-bold clamp-text-1 tn-text-justify">
                <text class="">{{ item.title }}</text>
              </view>
              <view class="tn-padding-top-xs" style="min-height: 90rpx;">
                <text class="tn-text-df tn-color-gray clamp-text-2 tn-text-justify">
                  {{ item.desc }}
                </text>
              </view>
              <view class="tn-flex tn-flex-row-between tn-flex-col-between">
                <view v-for="(label_item,label_index) in item.label" :key="label_index" style="transform: translate(0rpx,6rpx);"
                  class="justify-content-item tn-tag-content__item tn-margin-right-xs tn-round tn-text-sm tn-text-bold" :class="[`tn-bg-${item.color}--light tn-color-${item.color}`]">
                  <text class="tn-tag-content__item--prefix">#</text> {{ label_item }}
                </view>
                <view class="justify-content-item tn-color-gray tn-text-center tn-color-gray--disabled" style="padding-top: 15rpx;">
                  <text class="tn-icon-footprint tn-padding-right-xs tn-text-lg"></text>
                  <text class="tn-padding-right tn-text-df">{{ item.collectionCount }}</text>
                  <text class="tn-icon-like-lack tn-padding-right-xs tn-text-lg"></text>
                  <text class="tn-text-df">{{ item.likeCount }}</text>
                </view>
              </view>
            </view>
            <view class="image-pic tn-margin-sm" :style="'background-image:url(' + item.userAvatar + ')'">
              <view class="image-article">
              </view>
            </view>
          </view>
        </view>
      </block>
    </view> -->


	</view>
</template>

<script>
	import template_page_mixin from '@/libs/mixin/template_page_mixin.js'
	import Tools from '../tools/config.js'
	export default {
		name: 'TemplateSearch',
		mixins: [template_page_mixin],
		data() {
			return {
				inputValue: '',

				tagList: [],
				content: [
					//        {
					//          userAvatar: 'https://resource.tuniaokj.com/images/blogger/avatar_4.jpeg',
					//          userName: '图鸟北北',
					//          date: '2022年5月20日',
					//          label: ['开源','创意','UI框架'],
					//          desc: '开源可商用组件，助你开发酷炫UI一臂之力',
					//          content: '基础常用的布局元素，酷炫完善的配色体系，统一可增的图标 icon ，简便调用的功能组件，酷炫的前端页面，吖，编不下去了',
					//          mainImage:[],
					// viewUser: {
					//            latestUserAvatar: [
					//              {src: 'https://resource.tuniaokj.com/images/blogger/avatar_1.jpeg'},
					//              {src: 'https://resource.tuniaokj.com/images/blogger/avatar_2.jpeg'},
					//              {src: 'https://resource.tuniaokj.com/images/blogger/avatar_3.jpeg'},
					//              {src: 'https://resource.tuniaokj.com/images/blogger/avatar_4.jpeg'},
					//            ],
					//            viewUserCount: 62
					//          },
					//          collectionCount: 439,
					//          commentCount: 46,
					//          likeCount: 83
					//        },
					//        {
					//          userAvatar: 'https://resource.tuniaokj.com/images/blogger/avatar_1.jpeg',
					//          userName: '图鸟北北',
					//          date: '2022年5月20日',
					//          label: ['开源','创意','UI框架'],
					//          desc: '开源可商用组件，助你开发酷炫UI一臂之力',
					//          content: '基础常用的布局元素，酷炫完善的配色体系，统一可增的图标 icon ，简便调用的功能组件，酷炫的前端页面，吖，编不下去了',
					//          mainImage:[
					//            'https://resource.tuniaokj.com/images/blogger/content_1.jpeg'
					//          ],
					//          viewUser: {
					//            latestUserAvatar: [
					//              {src: 'https://resource.tuniaokj.com/images/blogger/avatar_1.jpeg'},
					//              {src: 'https://resource.tuniaokj.com/images/blogger/avatar_3.jpeg'},
					//              {src: 'https://resource.tuniaokj.com/images/blogger/avatar_2.jpeg'},
					//              {src: 'https://resource.tuniaokj.com/images/blogger/avatar_4.jpeg'},
					//            ],
					//            viewUserCount: 12
					//          },
					//          collectionCount: 902,
					//          commentCount: 64,
					//          likeCount: 83
					//        },
					//        {
					//          userAvatar: 'https://resource.tuniaokj.com/images/blogger/avatar_2.jpeg',
					//          userName: '图鸟北北',
					//          date: '2022年5月20日',
					//          label: [],
					//          desc: '',
					//          content: '',
					//          mainImage:[
					//            'https://resource.tuniaokj.com/images/shop/computer2.jpg',
					//            'https://resource.tuniaokj.com/images/shop/prototype2.jpg',
					//          ],
					//          viewUser: {
					//            latestUserAvatar: [
					//              {src: 'https://resource.tuniaokj.com/images/blogger/avatar_4.jpeg'},
					//              {src: 'https://resource.tuniaokj.com/images/blogger/avatar_2.jpeg'},
					//              {src: 'https://resource.tuniaokj.com/images/blogger/avatar_3.jpeg'},
					//              {src: 'https://resource.tuniaokj.com/images/blogger/avatar_1.jpeg'},
					//            ],
					//            viewUserCount: 56
					//          },
					//          collectionCount: 431,
					//          commentCount: 26,
					//          likeCount: 84
					//        },
					//        {
					//          userAvatar: 'https://resource.tuniaokj.com/images/blogger/avatar_3.jpeg',
					//          userName: '图鸟北北',
					//          date: '2022年5月20日',
					//          label: ['开源','创意'],
					//          desc: '开源可商用组件',
					//          content: '基础常用的布局元素，酷炫完善的配色体系，统一可增的图标 icon ，简便调用的功能组件，酷炫的前端页面，吖，编不下去了 基础常用的布局元素，酷炫完善的配色体系，统一可增的图标 icon ，简便调用的功能组件，酷炫的前端页面，吖，编不下去了',
					//          mainImage:[
					//            'https://resource.tuniaokj.com/images/swiper/swiper2.jpg',
					//            'https://resource.tuniaokj.com/images/swiper/swiper3.jpg',
					//            'https://resource.tuniaokj.com/images/swiper/swiper4.jpg',
					//          ],
					//          viewUser: {
					//            latestUserAvatar: [
					//              {src: 'https://resource.tuniaokj.com/images/blogger/avatar_1.jpeg'},
					//              {src: 'https://resource.tuniaokj.com/images/blogger/avatar_4.jpeg'},
					//              {src: 'https://resource.tuniaokj.com/images/blogger/avatar_2.jpeg'},
					//              {src: 'https://resource.tuniaokj.com/images/blogger/avatar_3.jpeg'},
					//            ],
					//            viewUserCount: 231
					//          },
					//          collectionCount: 780,
					//          commentCount: 89,
					//          likeCount: 82
					//        },
					//        {
					//          userAvatar: 'https://resource.tuniaokj.com/images/blogger/blogger_beibei.jpg',
					//          userName: '图鸟北北',
					//          date: '2022年5月20日',
					//          label: ['开源','链接'],
					//          desc: 'https://www.yuque.com/tuniao',
					//          mainImage:[
					//            'https://resource.tuniaokj.com/images/shop/watch1.jpg',
					//            'https://resource.tuniaokj.com/images/shop/watch2.jpg',
					//            'https://resource.tuniaokj.com/images/shop/pillow2.jpg',
					//            'https://resource.tuniaokj.com/images/shop/pillow.jpg',
					//          ],
					//          viewUser: {
					//            latestUserAvatar: [
					//              {src: 'https://resource.tuniaokj.com/images/blogger/avatar_2.jpeg'},
					//              {src: 'https://resource.tuniaokj.com/images/blogger/avatar_1.jpeg'},
					//              {src: 'https://resource.tuniaokj.com/images/blogger/avatar_4.jpeg'},
					//              {src: 'https://resource.tuniaokj.com/images/blogger/avatar_3.jpeg'},
					//            ],
					//            viewUserCount: 28
					//          },
					//          collectionCount: 432,
					//          commentCount: 33,
					//          likeCount: 12
					//        },
					//        {
					//          userAvatar: 'https://resource.tuniaokj.com/images/blogger/content_1.jpeg',
					//          userName: '图鸟北北',
					//          date: '2022年5月20日',
					//          label: ['开源','创意'],
					//          desc: '开源可商用组件',
					//          mainImage:[
					//            'https://resource.tuniaokj.com/images/blogger/y11.jpg',
					//            'https://resource.tuniaokj.com/images/blogger/y33.jpg',
					//            'https://resource.tuniaokj.com/images/blogger/y22.jpg',
					//            'https://resource.tuniaokj.com/images/blogger/y44.jpg',
					//            'https://resource.tuniaokj.com/images/blogger/y55.jpg',
					//          ],
					//          viewUser: {
					//            latestUserAvatar: [
					//              {src: 'https://resource.tuniaokj.com/images/blogger/avatar_4.jpeg'},
					//              {src: 'https://resource.tuniaokj.com/images/blogger/avatar_3.jpeg'},
					//              {src: 'https://resource.tuniaokj.com/images/blogger/avatar_2.jpeg'},
					//              {src: 'https://resource.tuniaokj.com/images/blogger/avatar_1.jpeg'},
					//            ],
					//            viewUserCount: 65
					//          },
					//          collectionCount: 265,
					//          commentCount: 22,
					//          likeCount: 62
					//        }
				],
			}
		},
		mounted(options) {
			this.getsslsList();
		},
		methods: {
			ssinput(e) {
				this.inputValue = e.target.value
			},
			// 跳转
			tn(e) {
				uni.navigateTo({
					url: e,
				});
			},
			djtag(item) {
				let ssvalue = item.title
				this.inputValue = ssvalue
				this.gettagList()
			},
			gettagList() {
				let ssvalue = this.inputValue
				console.log("ssvalue" + ssvalue)
				let theopenid = uni.getStorageSync('openid')
				let theunionid = uni.getStorageSync('unionid')
				console.log("theopenid" + theopenid)
				// uni.showModal({
				// 	title:'openid：'+theopenid+',ssvalue:'+ssvalue,
				// 	showCancel:false
				// })
				uni.request({
					url: Tools.host + '/wshly.ashx',
					method: 'POST',
					data: {
						'lx': 'userss',
						'gjc': ssvalue,
						'openid': theopenid,
						'unionid': theunionid,
						'sslx': '1',
						'dongtailx': '2'
					},
					success: (res) => {
						console.log('res：' + res.data.data)
						console.log('return_code：' + res.data.return_code)
						if (res.data.return_code == 1) {
							if (res.data.data != null && res.data.data != '') {
								var thejson = JSON.parse(res.data.data);
								this.content = thejson
							} else {
								this.content = []
							}
						} else {

						}
						//成功



						// uni.showModal({
						// 	title:'openid：'+thejson.openid,
						// 	showCancel:false
						// })
						//跳转
						// uni.navigateTo({
						// 	url:'/pages/home/home'
						// }) 
					},
					fail: (res) => {
						console.log('失败' + res)
						uni.showModal({
							title: '失败，请稍后重试',
							showCancel: false
						})
					}
				});
			},
			getsslsList() {
				let that = this
				let theopenid = uni.getStorageSync('openid')
				let theunionid = uni.getStorageSync('unionid')

				uni.request({
					url: Tools.host + '/wshly.ashx',
					method: 'POST',
					data: {
						'lx': 'userssls',
						'openid': theopenid,
						'unionid': theunionid
					},
					success: (res) => {
						console.log('res：' + res.data.data)
						if (res.data.return_code == 1) {
							if (res.data.data != null && res.data.data != '') {
								var thejson = JSON.parse(res.data.data);
								that.tagList = thejson
							}
						}
						//成功



						// uni.showModal({
						// 	title:'openid：'+thejson.openid,
						// 	showCancel:false
						// })
						//跳转
						// uni.navigateTo({
						// 	url:'/pages/home/home'
						// }) 
					},
					fail: (res) => {
						console.log('失败' + res)
						uni.showModal({
							title: '失败，请稍后重试',
							showCancel: false
						})
					}
				});
			},
		}
	}
</script>

<style lang="scss" scoped>
	.shareBtn {
		display: inline-flex;
		background-color: unset;
		line-height: unset;
	}
	
	.shareBtn::before {
		all: unset;
	}
	
	.shareBtn::after {
		all: unset;
	}
	
	
	.tn-search-fixed {
		position: fixed;
		top: 50rpx;
		width: 100%;
		transition: all 0.25s ease-out;
		z-index: 1;
	}

	/* 胶囊*/
	.tn-custom-nav-bar__back {
		width: 60%;
		height: 100%;
		position: relative;
		display: flex;
		justify-content: space-evenly;
		align-items: center;
		box-sizing: border-box;
		background-color: rgba(0, 0, 0, 0.15);
		border-radius: 1000rpx;
		border: 1rpx solid rgba(255, 255, 255, 0.5);
		color: #FFFFFF;
		font-size: 18px;

		.icon {
			display: block;
			flex: 1;
			margin: auto;
			text-align: center;
		}

	}

	/* 顶部渐变*/
	.tn-navbg {
		background: linear-gradient(-120deg, #F15BB5, #9A5CE5, #01BEFF, #00F5D4);
		/* background: linear-gradient(-120deg,  #9A5CE5, #01BEFF, #00F5D4, #43e97b); */
		/* background: linear-gradient(-120deg,#c471f5, #ec008c, #ff4e50,#f9d423); */
		/* background: linear-gradient(-120deg, #0976ea, #c471f5, #f956b6, #ea7e0a); */
		background-size: 500% 500%;
		animation: gradientBG 15s ease infinite;
		position: fixed;
		top: 0;
		width: 100%;
		z-index: 100;
	}

	@keyframes gradientBG {
		0% {
			background-position: 0% 50%;
		}

		50% {
			background-position: 100% 50%;
		}

		100% {
			background-position: 0% 50%;
		}
	}

	/* 搜索标签 start*/
	.tn-tag-search {
		&__item {
			display: inline-block;
			line-height: 45rpx;
			padding: 10rpx 30rpx;
			margin: 20rpx 20rpx 5rpx 0rpx;

			&--prefix {
				padding-right: 10rpx;
			}
		}
	}

	/* 标签内容 end*/

	/* 标题 start */
	.nav_title {
		-webkit-background-clip: text;
		color: transparent;

		&--wrap {
			position: relative;
			display: flex;
			height: 120rpx;
			font-size: 42rpx;
			align-items: center;
			justify-content: center;
			font-weight: bold;
			background-image: url(https://resource.tuniaokj.com/images/title_bg/title00.png);
			background-size: cover;
		}
	}

	/* 标题 end */

	/* 文章内容 start*/
	.blogger {
		&__item {
			padding: 30rpx;
		}

		&__author {
			&__btn {
				margin-right: -12rpx;
				opacity: 0.5;
			}
		}

		&__desc {
			line-height: 55rpx;

			&__label {
				padding: 0 20rpx;
				margin: 0rpx 18rpx 0 0;

				&--prefix {
					color: #00FFC8;
					padding-right: 10rpx;
				}
			}

			&__content {}
		}

		&__content {
			margin-top: 18rpx;
			padding-right: 18rpx;

			&__data {
				line-height: 46rpx;
				text-align: justify;
				overflow: hidden;
				transition: all 0.25s ease-in-out;

			}

			&__status {
				margin-top: 10rpx;
				font-size: 26rpx;
				color: #82B2FF;
			}
		}

		&__main-image {
			border-radius: 16rpx;

			&--1 {
				max-width: 80%;
				max-height: 300rpx;
			}

			&--2 {
				max-width: 260rpx;
				max-height: 260rpx;
			}

			&--3 {
				height: 212rpx;
				width: 100%;
			}
		}

		&__count-icon {
			font-size: 40rpx;
			padding-right: 5rpx;
		}

		&__ad {
			width: 100%;
			height: 500rpx;
			transform: translate3d(0px, 0px, 0px) !important;

			::v-deep .uni-swiper-slide-frame {
				transform: translate3d(0px, 0px, 0px) !important;
			}

			.uni-swiper-slide-frame {
				transform: translate3d(0px, 0px, 0px) !important;
			}

			&__item {
				position: absolute;
				width: 100%;
				height: 100%;
				transform-origin: left center;
				transform: translate3d(100%, 0px, 0px) scale(1) !important;
				transition: transform 0.25s ease-in-out;
				z-index: 1;

				&--0 {
					transform: translate3d(0%, 0px, 0px) scale(1) !important;
					z-index: 4;
				}

				&--1 {
					transform: translate3d(13%, 0px, 0px) scale(0.9) !important;
					z-index: 3;
				}

				&--2 {
					transform: translate3d(26%, 0px, 0px) scale(0.8) !important;
					z-index: 2;
				}
			}

			&__content {
				border-radius: 40rpx;
				width: 640rpx;
				height: 500rpx;
				overflow: hidden;
			}

			&__image {
				width: 100%;
				height: 100%;
			}
		}
	}

	/* 文章内容 end*/
</style>